package com.xx.bysj.service;

import com.xx.bysj.dto.HnMenu;
import com.xx.bysj.dto.HnUser;
import com.xx.bysj.utils.MenuResultUtils;
import com.xx.bysj.utils.Result;
import org.springframework.security.core.Authentication;

import java.util.List;
import java.util.Map;

public interface MenuService {
    String showMenu(HnUser user);

    MenuResultUtils menuManage();

    List<HnMenu> queryType();

    List<HnMenu> queryNode();

    Result updateMenu(HnMenu menu,Authentication authentication);

    Result addMenu(HnMenu menu, Authentication authentication);

    Result deleteMenu(String title,Authentication authentication);
}
